package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 业务状态记录表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_businesss_status_record")
@ApiModel(value = "XhBusinesssStatusRecord对象", description = "业务状态记录表")
public class XhBusinesssStatusRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联业务id")
    private Integer businessId;

    @ApiModelProperty("业务状态状态 	电池回购使用 Repurchase 枚举类 RepurchaseStatusEnum 使用1-1000用于状态id")
    private Integer businessStatus;

    @ApiModelProperty("业务id 枚举类")
    private Integer businessType;

    private Integer creatorId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

}
